/**
 * 
 */
package com.epam.iunna.bookshop.model;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @author Iunna
 * 
 */
public class User implements Serializable{
    private static final long serialVersionUID = 1L;
    
    
    public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLogin() {
		return this.login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return this.surname;
	}

	public void setSurame(String surname) {
		this.surname = surname;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Boolean getBanned() {
		return this.banned;
	}

	public void setBanned(Boolean banned) {
		this.banned = banned;
	}
	
	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}
	
	public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    
    @Override
    public String toString() {
        return "User [id=" + id + ", login=" + login + ", pass=" + pass
                + ", name=" + name + ", surname=" + surname + ", address="
                + address + ", tel=" + tel + ", email=" + email + ", banned="
                + banned + ", role=" + role + ", money=" + money + "]";
    }


    private Long id;
	private String login;
	private String pass;
	private String name;
	private String surname;
	private String address;
	private String tel;
	private String email;
	private Boolean banned;
	private String role;
	private BigDecimal money;
}
